ExamPlay Light Logo
Mag-sign In

Computer Science for IGCSE & O level - Programming (Section 11 - No. 26)

In the Totaling examples, what operation is performed by the statement: `TotalWeight = TotalWeight + Weight;`?
Adding weight to total weight.
Subtracting weight from total weight.
Assigning the value of weight to total weight.
Multiplying weight by total weight.

Paliwanag

The statement means adding weight to the total weight.

Mga komento (0)

Mag-login Upang Magkomento
Advertisement
BrainBehindX Inc Logo
©2026; Pinapatakbo ng BrainBehindX Inc